package de.luisoft.ui.model;

import java.io.Serializable;

public class ProjectModel implements Serializable {

	private static final long serialVersionUID = 7114584484922352918L;
	private int nr;
	private String name, teacher;
	private int capacity;

	public ProjectModel(){};
	public ProjectModel(String name, int capacity){
		this.name = name;
		this.capacity = capacity;
	};
	
	public int getNr() {
		return nr;
	}
	public void setNr(int nr) {
		this.nr = nr;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTeacher() {
		return teacher;
	}
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	
	public int getCapacity() {
		return capacity;
	}
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}
	public String toString() {
		return name;
	}
}
